<?php
// print_r(phpinfo());die;
require_once "config.php";
$uid = $_POST['u_id'];
$m_id = 25;
$sql = $mysql->query("insert into yspw_userattention (m_id,u_id) values ('{$m_id}','{$uid}')");
if($sql){
    echo json_encode(['code'=>1,'add ok']);
}else{
    echo json_encode(['code'=>0,'add error']);
}
?>
